<h1>Listing publishers</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Adress</th>
    <th>Phone</th>
    <th>Phone fax</th>
    <th>Postal code</th>
    <th>Url</th>
    <th>Cataloged</th>
    <th>City</th>
  </tr>

<% @publishers.each do |publisher| %>
  <tr>
    <td><%=h publisher.name %></td>
    <td><%=h publisher.adress %></td>
    <td><%=h publisher.phone %></td>
    <td><%=h publisher.phone_fax %></td>
    <td><%=h publisher.postal_code %></td>
    <td><%=h publisher.url %></td>
    <td><%=h publisher.cataloged %></td>
    <td><%=h publisher.city %></td>
    <td><%= link_to 'Show', publisher %></td>
    <td><%= link_to 'Edit', edit_publisher_path(publisher) %></td>
    <td><%= link_to 'Destroy', publisher, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New publisher', new_publisher_path %>